﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MDS
{
    public interface IMessageRepository
    {

         void ClearAllData();

         int GetCurrentSN();

         int GetMessageCount();

          int AddMessage(Protocol.IMessage message);

         int AddMessages(IEnumerable<Protocol.IMessage> messages);

         Protocol.IMessage GetMessage(int sequenceNo);
         IEnumerable<Protocol.IMessage> GetMessages(int beginSN, int count);
     

    }
}
